package com.zrq.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

    @RequestMapping("/login")
    public String login(String username,String password){
        if (username.equals("admin") && password.equals("123456")){
            return "success";
        }
        return "";
    }
}
